<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"> 
    <ui:decorate template="/template/padrao.xhtml">
        <ui:define name="center">
            <h:form id="form">
                <p:growl id="msg" life="5000"/>
                <p:fieldset legend="Categorias" style="font-size: 12px;">
                    <br/>
                    <p:dataTable value="#{managerSearchCategory.lstCategory()}"
                                 var="c" emptyMessage="Nenhuma Categoria" style="font-size: 12px;"
                                 >
                        <f:facet name="header">
                            <h:outputText value="Categorias"/>
                        </f:facet>
                        <p:column headerText="Cod" style="font-size: 12px; width: 20px;">
                            <h:outputText value="#{c.id}" style="font-size: 12px;"/>
                        </p:column>
                        <p:column headerText="Cod" style="font-size: 12px; width: 100px;">
                            <h:outputText value="#{c.name}" style="font-size: 12px;"/>
                        </p:column>
                        
                        <p:column headerText="Opções" style="font-size: 12px; width: 20px;">
<!--                            <p:commandButton icon="ui-icon-document" actionListener="{managerEditQuestionnaire.redirect('createIssues.xhtml', q)}" />
                            <p:commandButton icon="ui-icon-trash" />-->
                        </p:column>

                    </p:dataTable>
                </p:fieldset>
            </h:form>
        </ui:define>
    </ui:decorate>
</html>